package com.springboot.jeesite;

import com.springboot.jeesite.modules.sys.service.SystemService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * SpringBoot-jeesite 的启动类
 */
@EnableCaching
@SpringBootApplication
@ServletComponentScan
@ComponentScan
public class SpringBootJeesiteDriver extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootJeesiteDriver.class, args);
        SystemService.printKeyLoadMessage();
    }
}
